package com.zgx.plus.common.constant;

public class RedisConstant {

    public static final String REDIS_KEY_LOGIN_USERS = "login_users:"; //通过token内的Claims中的uuid来查找存储用户信息,login_users:uuid
    public static final String REDIS_KEY_PWD_ERR_CNT = "pwd_err_cnt:"; //登录账户密码错误次数 redis key
    public static final String REDIS_KEY_CAPTCHA_CODE = "captcha_codes:"; //验证码 redis key

    /**
     * redis 登录用户 redis key
     */
    public static final String LOGIN_TOKEN_KEY = "login_tokens:";

    /**
     * redis 验证码 redis key
     */
    public static final String CAPTCHA_CODE_KEY = "captcha_codes:";

    /**
     * redis 参数管理 cache key
     */
    public static final String SYS_CONFIG_KEY = "sys_config:";

    /**
     * redis 字典管理 cache key
     */
    public static final String SYS_DICT_KEY = "sys_dict:";

    /**
     *redis  防重提交 redis key
     */
    public static final String REPEAT_SUBMIT_KEY = "repeat_submit:";

    /**
     * redis 限流 redis key
     */
    public static final String RATE_LIMIT_KEY = "rate_limit:";
}
